package com.pjj.boardservice.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Timestamp;
import java.util.Date;

/**
 * @author 76004
 * @apiNote
 * @date 2023/2/7 16:58
 */

@TableName("board")
@Data
public class Board {
    @TableId(value = "id", type = IdType.AUTO)
    Integer id;

    String topic;

    String content;

    Timestamp time;

    String userId;


}
